/**
 * 
 */
package neptune.web.client.services.user;

import neptune.web.client.services.SecurityException;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * @author Roberto Bifulco [info@robertobifulco.it, robertobifulco.it]
 * 
 */
@RemoteServiceRelativePath("/login.cmd")
public interface LogInService extends RemoteService {

	public static class Util {

		public static LogInServiceAsync getInstance() {

			return GWT.create(LogInService.class);
		}
	}

	public String login(String username, String password)
			throws SecurityException;

}
